up: microprocessors - MC6800/MC6802 - instruction set - accumulators  
m6800/m6802 instruction set
Subtract Memory from Accumulator
What links here?
Subtract Memory From Accumulator
MemonicMode OpcodeCyclesBytes
SUBA Immediate 80 2 2
Direct 90 3 2
Indexed A0 5 2
Extended B0 4 3
SUBB Immediate C0 2 2
Direct D0 3 2
Indexed E0 5 2
Extended F0 4 3


A = A - M
B = B - M

Results:
H not affected
N set if bit 7 is 1
Z set if all bits are 0
V set on 2's complement overflow
C set on carry from bit 7
MC6802 - instruction set - Subtract Memory from Accumulator
filename:microprocessors - MC6800/MC6802 - instruction set - Subtract Memory from Accumulator
filename:microprocessors%20%2D%20MC6800%2FMC6802%20%2D%20instruction%20set%20%2D%20Subtract%20Memory%20from%20Accumulator
last edit:February 06 2010 14:04:52 (5202 days ago)
ct = 1714988598.000000 = May 06 2024 05:43:18
ft = 1265483092.000000 = February 06 2010 14:04:52
dt = 449505506.000000